export default [{
  path: '/',
  component: () => import('@/views/layout/MusicLayout.vue'),
  redirect: '/music',
  children: [
    {
      path: 'music',
      meta: { title: '发现音乐' },
      component: () => import('@/views/music/DiscoverPage.vue')
    },
    {
      path: 'details',
      meta: { title: '详情信息' },
      component: () => import('@/views/music/DetailsPage.vue')
    },
    {
      path: 'me',
      meta: { title: '我的音乐' },
      component: () => import('@/views/music/MePage.vue')
    },
    {
      path: 'add',
      meta: { title: '添加音乐' },
      component: () => import('@/views/music/AddMusicPage.vue')
    },
    {
      path: 'search',
      meta: { title: '搜索音乐' },
      component: () => import('@/views/music/SearchPage.vue')
    }

  ]
}]
